package com.ruoyi.his.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.his.mapper.HisRegisterMapper;
import com.ruoyi.his.domain.HisRegister;
import com.ruoyi.his.service.IHisRegisterService;

/**
 * 挂号收费Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-11-05
 */
@Service
public class HisRegisterServiceImpl implements IHisRegisterService
{
    @Autowired
    private HisRegisterMapper hisRegisterMapper;

    /**
     * 新增挂号收费
     * 
     * @param hisRegister 挂号收费
     * @return 结果
     */
    @Override
    public int insertHisRegister(HisRegister hisRegister)
    {
        return hisRegisterMapper.insertHisRegister(hisRegister);
    }

    @Override
    public List<Map<String, Object>> queryRegisteredrecord(Map map) {
        return hisRegisterMapper.queryRegisteredrecord(map);
    }

}
